
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>第6章 启动文件分析 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-intopic-toc/style.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../07_MRS手动新建工程/07_MRS手动新建工程.html" />
    
    
    <link rel="prev" href="../05_链接脚本分析/05_链接脚本分析.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../01_初识RISC-V/01_初识RISC-V.html">
            
                <a href="../01_初识RISC-V/01_初识RISC-V.html">
            
                    
                    第1章 初识RISC-V
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../02_开发环境搭建/02_开发环境搭建.html">
            
                <a href="../02_开发环境搭建/02_开发环境搭建.html">
            
                    
                    第2章 开发环境搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../03_CH32V307下载与调试/03_CH32V307下载与调试.html">
            
                <a href="../03_CH32V307下载与调试/03_CH32V307下载与调试.html">
            
                    
                    第3章 CH32V307下载与调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../04_CH32V307编译过程分析/04_CH32V307编译过程分析.html">
            
                <a href="../04_CH32V307编译过程分析/04_CH32V307编译过程分析.html">
            
                    
                    第4章 CH32V307编译过程分析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../05_链接脚本分析/05_链接脚本分析.html">
            
                <a href="../05_链接脚本分析/05_链接脚本分析.html">
            
                    
                    第5章 链接脚本分析
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.7" data-path="06_启动文件分析.html">
            
                <a href="06_启动文件分析.html">
            
                    
                    第6章 启动文件分析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../07_MRS手动新建工程/07_MRS手动新建工程.html">
            
                <a href="../07_MRS手动新建工程/07_MRS手动新建工程.html">
            
                    
                    第7章 MRS手动新建工程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../08_使用寄存器点亮LED-C语言版/08_使用寄存器点亮LED-C语言版.html">
            
                <a href="../08_使用寄存器点亮LED-C语言版/08_使用寄存器点亮LED-C语言版.html">
            
                    
                    第8章 使用寄存器点亮LED-C语言版
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../09_RISC-V汇编语言讲解/09_RISC-V汇编语言讲解.html">
            
                <a href="../09_RISC-V汇编语言讲解/09_RISC-V汇编语言讲解.html">
            
                    
                    第9章 RISC-V汇编语言讲解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../10_使用寄存器点亮LED-汇编版/10_使用寄存器点亮LED-汇编版.html">
            
                <a href="../10_使用寄存器点亮LED-汇编版/10_使用寄存器点亮LED-汇编版.html">
            
                    
                    第10章 使用寄存器点亮LED-汇编版
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >第6章 启动文件分析</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7B2C;6&#x7AE0;-&#x542F;&#x52A8;&#x6587;&#x4EF6;&#x5206;&#x6790;">&#x7B2C;6&#x7AE0; &#x542F;&#x52A8;&#x6587;&#x4EF6;&#x5206;&#x6790;</h1>
<p>&#x542F;&#x52A8;&#x6587;&#x4EF6;&#x7531;&#x6C47;&#x7F16;&#x8BED;&#x8A00;&#x7F16;&#x5199;&#xFF0C;&#x662F;&#x7CFB;&#x7EDF;&#x4E0A;&#x7535;&#x590D;&#x4F4D;&#x540E;&#x7B2C;&#x4E00;&#x4E2A;&#x6267;&#x884C;&#x7684;&#x7A0B;&#x5E8F;&#x3002;&#x4E3B;&#x8981;&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;&#xFF1A;</p>
<ul>
<li>&#x521D;&#x59CB;&#x5316;<strong>gp</strong>(<strong>g</strong>lobal <strong>p</strong>ointer)&#x5168;&#x5C40;&#x6307;&#x9488;&#x5BC4;&#x5B58;&#x5668;&#x3001;<strong>sp</strong>(<strong>s</strong>tack <strong>p</strong>ointer)&#x6808;&#x6307;&#x9488;&#x5BC4;&#x5B58;&#x5668;</li>
<li>&#x5C06;data&#x6570;&#x636E;&#x4ECE;flash&#x4E2D;&#x52A0;&#x8F7D;&#x81F3;RAM&#x4E2D;</li>
<li>&#x6E05;&#x7A7A;bss&#x6BB5;&#x6570;&#x636E;</li>
<li>&#x521D;&#x59CB;&#x5316;&#x4E2D;&#x65AD;&#x5411;&#x91CF;&#x8868;</li>
<li>&#x914D;&#x7F6E;&#x7CFB;&#x7EDF;&#x65F6;&#x949F;</li>
<li>&#x4ECE;Machine&#x6A21;&#x5F0F;&#x5207;&#x6362;&#x5230;User&#x6A21;&#x5F0F;&#xFF0C;&#x8FDB;&#x5165;main&#x51FD;&#x6570;&#x8FD0;&#x884C;</li>
</ul>
<footer class="page-footer"><span class="copyright">powered by Gitbook</span><span class="footer-modification">File Modify: 
2021-09-28 09:11:20
</span></footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../05_链接脚本分析/05_链接脚本分析.html" class="navigation navigation-prev " aria-label="Previous page: 第5章 链接脚本分析">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../07_MRS手动新建工程/07_MRS手动新建工程.html" class="navigation navigation-next " aria-label="Next page: 第7章 MRS手动新建工程">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"第6章 启动文件分析","level":"1.7","depth":1,"next":{"title":"第7章 MRS手动新建工程","level":"1.8","depth":1,"path":"07_MRS手动新建工程/07_MRS手动新建工程.md","ref":"07_MRS手动新建工程/07_MRS手动新建工程.md","articles":[]},"previous":{"title":"第5章 链接脚本分析","level":"1.6","depth":1,"path":"05_链接脚本分析/05_链接脚本分析.md","ref":"05_链接脚本分析/05_链接脚本分析.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["-lunr","-search","-sharing","search-pro","back-to-top-button","chapter-fold","splitter","tbfed-pagefooter","popup","intopic-toc","copy-code-button","github","hide-element","pageview-count","livereload"],"pluginsConfig":{"tbfed-pagefooter":{},"chapter-fold":{},"github":{"url":"https://gitee.com/taoyukai/ch32v307_development_guide"},"intopic-toc":{"isCollapsed":true,"isScrollspyActive":true,"label":"In this article","maxDepth":6,"mode":"nested","selector":".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6","visible":true},"livereload":{},"splitter":{},"search-pro":{},"popup":{},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"pageview-count":{},"copy-code-button":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"06_启动文件分析/06_启动文件分析.md","mtime":"2021-09-28T01:11:20.912Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-10-12T06:38:50.113Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-intopic-toc/anchor.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-intopic-toc/gumshoe.polyfills.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-intopic-toc/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

